<template>
  <div id="app">
    <el-container>
      <el-header>
        <router-view name="nav"></router-view>
      </el-header>
      <el-container>
        <el-aside width="250px">
          <router-view name="aside"></router-view>
        </el-aside>
        <el-container>
          <el-main>
            <router-view name="body"></router-view>
          </el-main>
          <el-footer>
            <router-view name="footer"></router-view>
          </el-footer>
        </el-container>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  name: 'app'
}
</script>

<style>
  body{
    margin: 0;
  }
#app {
}
</style>
